java string not equal

46

java string not equal -

String name = "John"; 
 
// prints true to standard system output. 
System.out.print(!name.equals("Alex")); 

Comments

Submit
0 Comments